package com.glodon.paas.account.dao.domain;

import java.io.Serializable;
import java.util.Date;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;

/**
 * 联系人 实体
 * @author huangc
 *
 */
@Entity(value = "communicateBook", noClassnameStored = true)
public class CommunicateEntity implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@Id
	private String id;				// ID
	private String userId;			// 用户ID
	private String contactId;		// 联系人ID  
	private String contactEmail;	// 联系人Email，  暂存(64字符)
	private String remarkName;		// 用户备注的联系人姓名(64字符)
	private String remarkText;		// 用户备注的其他信息(256字符)
	private Integer orderNum;		// 排序数字，新数据递增
	private Date createTime;
	private Date updateTime;		// 重排序不改变updateTime
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
 
	public String getRemarkName() {
		return remarkName;
	}
	public void setRemarkName(String remarkName) {
		this.remarkName = remarkName;
	}
	public String getRemarkText() {
		return remarkText;
	}
	public void setRemarkText(String remarkText) {
		this.remarkText = remarkText;
	}
	public Integer getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getContactId() {
		return contactId;
	}
	public void setContactId(String contactId) {
		this.contactId = contactId;
	}
	public String getContactEmail() {
		return contactEmail;
	}
	public void setContactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}		
}
